#include "SypEngine.h"

#ifdef CHECKMEM
#include "mmgr.h"
#endif
namespace Syp
{

VertexShader::VertexShader(const String& filename):Shader(filename)
{
	id = Renderer::getRenderer().generateVertexShader();
}

void VertexShader::compileShader()
{
    assert(source != "" && "Shader source code not loaded");
	Renderer::getRenderer().compileVertexShader(this);
	
}
}
